//
//  AddPlanViewController.h
//  Wallets Manager
//
//  Created by Tung Nguyen on 10/7/12.
//  Copyright (c) 2012 BKHN. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "folyAppDelegate.h"
#import "ChooseWalletIconViewController.h"
#import "DataBaseAccess.h"
#import "CommonMacro.h"
#import "Plan.h"


@interface AddPlanViewController : UIViewController <UITableViewDataSource,UITableViewDelegate,UITextFieldDelegate, UIActionSheetDelegate>
{
    
     NSString *currentImageName;
     UIButton *editPlanButton;
     
}
- (IBAction)addButtonPressed:(id)sender;
- (IBAction)backButtonPressed:(id)sender;

@property (assign, nonatomic) NSString *formKind;
@property (retain, nonatomic) Plan *currentPlan;

@property (weak, nonatomic) IBOutlet UITableView *addPlanTableView;
@property (weak, nonatomic) IBOutlet UIButton *addButton;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UITextField *planNameTextField;
@property (weak, nonatomic) IBOutlet UITextField *goalTextField;
@property (weak, nonatomic) IBOutlet UITextField *startAmountTextField;
@property (weak, nonatomic) IBOutlet UIImageView *categoryImv;

@property (weak, nonatomic) IBOutlet UILabel *walletLabel;
@end
